#!/usr/bin/env bash


echo "deploying gateway"

kill -9 $(lsof -ti tcp:9198)
cp -rf cw-gateway/target/cw-gateway-1.0-SNAPSHOT.jar /data/cwys/

echo ".......start shenyu-gateway ...."
nohup java -Xms256m -Xmx512m -jar /data/cwys/cw-gateway-1.0-SNAPSHOT.jar  > /dev/null 2>&1 &
sleep 20
echo ".........end shenyu-gateway......."




